cannot edit registry error writing value's new contents